// Fill out your copyright notice in the Description page of Project Settings.

#include "Isalong2.h"
#include "Item.h"

float Item::GetWeight()
{
	return ItemType::GetWeightByID(_itemID)*_itemCount;
}

Item::Item()
{
	_itemID = 0;
	_itemCount = 0;
	_addition = 1;
	_guid = FGuid::NewGuid();
}

Item::Item(int id, int count)
{
	_itemID = id;
	_itemCount = count;
	_addition = 1;
	_guid = FGuid::NewGuid();
}

Item::Item(int id, int count, int addition)
{
	_itemID = id;
	_itemCount = count;
	_addition = addition;
	_guid = FGuid::NewGuid();
}

Item::Item(int id, int count, int addition, FGuid guid)
{
	_itemID = id;
	_itemCount = count;
	_addition = addition;
	_guid = guid;
}

Item::~Item()
{
}
